Skip to content

Harden Public Preview and alpha bootstrap gates - #8

Merged
tensornull merged 1 commit into
mainfrom
agent/public-preview-gate-bootstrap
Jul 21, 2026
Merged

Harden Public Preview and alpha bootstrap gates#8
tensornull merged 1 commit into
mainfrom
agent/public-preview-gate-bootstrap

Conversation

@tensornull

Copy link
Copy Markdown
Contributor

Summary

  • include standalone-content violations in the fail-closed Public Preview aggregate gate
  • correct the live-smoke and npm environment reviewer configuration comments
  • encode the protected npm token bootstrap as an opt-in path restricted to 0.1.0-alpha.1 on next
  • document and test the standalone scanner and bootstrap boundaries

Why

The standalone scan previously ran only as part of the expensive copied-repository check, so check:public-preview could pass without reporting outside-root content. The documented alpha.1 token exception was also not executable, and two workflow comments contradicted the accepted environment reviewer policy.

Impact

Public Preview validation now reports identity, public-content, and standalone-content violations together. Trusted Publishing remains the default npm path; the bootstrap secret is injected only when the protected environment explicitly enables it for exactly 0.1.0-alpha.1.

Verification

  • npm ci
  • npm run verify
  • npm run check:standalone-content
  • npm audit --omit=dev --json (0 production vulnerabilities)
  • git diff --check

No repository visibility, tag, release, live API, npm publication, secret, or repository setting was changed.

@tensornull
tensornull merged commit 1f69eed into main Jul 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant